/**
 * Title: AreaInfo.java
 * Description:
 * Copyright: Copyright (c) 2008
 * Company:深圳彩讯科技有限公司
 * Author 罗旭东 (hi@luoxudong.com)
 * Date 2013-12-24 下午5:13:13
 * Version 1.0
 */
package com.luoxudong.phonenumber.logic.db.model;

import com.luoxudong.phonenumber.service.base.BaseEntity;
import com.luoxudong.phonenumber.service.database.annotations.DbFields;

/** 
 * ClassName: AreaInfo
 * Description:TODO(这里用一句话描述这个类的作用)
 * Create by 罗旭东
 * Date 2013-12-24 下午5:13:13
 */
public class AreaInfo extends BaseEntity<AreaInfo> {
	private static final long serialVersionUID = 1L;
	/**
	 * 编号
	 */
	@DbFields(autoIncrement="true")
	private int id = 0;
	
	@DbFields(columnName="area_id")
	private int areaId = 0;
	
	@DbFields(columnName="parent_area_id")
	private int parentAreaId = 0;
	
	@DbFields(columnName="area_name")
	private String areaName = null;

	public AreaInfo()
	{
		
	}
	
	public AreaInfo(int id, int areaId, int parentAreaId, String areaName)
	{
		this.id = id;
		this.areaId = areaId;
		this.parentAreaId = parentAreaId;
		this.areaName = areaName;
	}
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getAreaId() {
		return areaId;
	}

	public void setAreaId(int areaId) {
		this.areaId = areaId;
	}

	public int getParentAreaId() {
		return parentAreaId;
	}

	public void setParentAreaId(int parentAreaId) {
		this.parentAreaId = parentAreaId;
	}

	public String getAreaName() {
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}
	
}
